<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<center>
  <form action="${pageContext.servletContext.contextPath}/file/upload.do" method="post"
        enctype="multipart/form-data">
      <input type="file" name="fileName">
      <br>
      <input type="submit" value="上传图片">
  </form>
</center>
</body>
</html>
